<template>
  <div class="text-xs-center">
    <v-dialog v-model="loadDialog" persistent width="300">
      <v-card color="primary" dark>
        <v-card-text>
          {{loadText}}
          <v-progress-linear indeterminate color="white" class="mb-0"></v-progress-linear>
        </v-card-text>
      </v-card>
    </v-dialog>
  </div>
</template>

<script>
export default {
  name: 'load-layer',
  props: {
    loadDialog: {
      type: Boolean,
      default: null
    },
    loadText: {
      type: String,
      default: ''
    }
  }
}
</script>
